package com.bolt.auth.admin.api.sys.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
public class LoginReqDTO {

    @ApiModelProperty(value = "账号")
    @NotBlank(message = "账号不能为空")
    private String username;

    @ApiModelProperty(value = "用户密码")
    @NotBlank(message = "密码不能为空")
    private String password;

    @ApiModelProperty(value = "用户密码")
    @NotBlank(message = "验证码不能为侬")
    private String validCode;

    @ApiModelProperty(value = "用户密码")
    @NotBlank(message = "请在请求参数中携带deviceId参数")
    private String deviceId;
}

 